﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace NUnitResults
{
    /// <summary>
    /// Represents a class which provides access to a stream of XML results.
    /// </summary>
    public interface IStreamProvider
    {
        /// <summary>
        /// Gets a name for this stream.
        /// </summary>
        String Name { get; }

        /// <summary>
        /// Gets a stream of XML results, ready to be read.
        /// </summary>
        /// <returns></returns>
        Stream GetStream();
    }
}
